package com.yike.user.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yike.common.api.Update;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 店铺类型表
 *
 * @author Sakura
 * @since 2024-09-04
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "店铺类型参数")
public class ShopTypeParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "id不能为空", groups = {Update.class})
    @ApiModelProperty("自增ID，修改必传")
    private Long id;

    @ApiModelProperty("类型名称")
    private String name;

}
